define(function (require, exports, module) {
  const loadComponent = require("loadComponent");
  const Home = loadComponent("src/views/home/home.js");
  const MyCenter = loadComponent("src/views/myCenter/myCenter.js");

  exports.routes = [
    {
      name: "Home",
      path: "/",
      component: Home,
      meta: {
        title: "首页",
      },
    },
    {
      name: "My",
      path: "/my",
      component: MyCenter,
      meta: {
        title: "我的",
      },
    },
  ];
});
